package com.ruoyi.record.common;

import java.math.BigDecimal;

public interface RecordConstant {
    //状态
    int STATUS_NORMAL = 1;
    int STATUS_UNNORMAL = 2;

    //进程
    int ACTIVE_ALREADY = 6;
    int ACTIVE_READY = 3;
    int ACTIVE_RECEIVE = 2;
    int ACTIVE_OUTDATED = 5;
    int ACTIVE_CANCEL = 4;
    int ACTIVE_COMPLETE = 1;

    //单词相关
    int TASK_TYPE_WORD_STUDY = 2;
    int TASK_TYPE_WORD_TEST = 3;

    BigDecimal TASK_COMPLETE_RATE = new BigDecimal("0.8");

    String TASK_DATA_TO_REDIS = "task-list-todo-";

    String TASK_CANCEL_ID = "cancel-id";

}
